package com.dao.impl;

import com.dao.ManagerDao;
import com.model.Manager;

public class ManagerDaoImpl extends BaseDao implements ManagerDao{

	@Override
	public Manager getManagerByNameAndPass(String name, String pwd) {
		String sql="SELECT * FROM tb_manager WHERE manager=? AND pwd=?";
		Object[] params={name,pwd};
		return super.getOneEntity(sql, params, Manager.class);
	}
	
	

}
